import defaultSettings from '@/settings'
import store from '@/store'
// const title = defaultSettings.title || 'Vue Admin Template'

const title = store.getters.name||'花牛系统'
let getTitle=function(){
  return store.getters.name||'花牛系统'
}
  

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${getTitle()}`
  }
  return `${getTitle()}`
}
